package tree;

public class Tree1 {

    public static void main(String[] args) {
        Node root = new Node(5);
        root.left=new Node(3);
        root.right=new Node(3);
        root.left.left=new Node(9);
        root.left.right=new Node(8);
        root.right.left=new Node(8);
        root.right.right=new Node(9);
    }

    /*二叉树的节点类*/
    static class Node{
        int value;
        Node left;
        Node right;
        Node(int value){
            this.value = value;
        }
    }
}
